package band.wukong.practice.webservice.kh.sample05;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.xml.ws.Endpoint;

/**
 * @author wukong(wukonggg@139.com)
 */
public class JukeboxServer {

    private static final Logger logger = LoggerFactory.getLogger(JukeboxServer.class);

    public static void main(String[] args) {
        JukeboxService service = new JukeboxServiceImpl();
        Endpoint.publish(JukeboxConst.SERVICE_URL, service);
        logger.info("Server started.");
        logger.info("SERVICE_WSDL = " + JukeboxConst.SERVICE_WSDL);
    }
}
